﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using Token.Piker.Core.Model;

namespace Token.Piker.Core.Security
{
    /// <summary>
    /// 只有管理员才能访问的页面继承此类
    /// </summary>
    public class BaseAdminPage : BasePage
    {
        protected override void OnLoad(EventArgs e)
        {
            DesiredRole = Model.AbstractUser.ERole.系统管理员;
            base.OnLoad(e);
        }
    }
}